function LevelManage () {
  this.level = 0;
  this.map = '';
  this.info = {};
}

LevelManage.prototype.start = function() {
  this.level = 1;
  this.init();
};

LevelManage.prototype.getMap = function() {
  return this.map;
};

LevelManage.prototype.levelUp = function() {
  this.level ++;
  this.init();
};

LevelManage.prototype.init = function() {
  var keyName = 'level_' + this.level;
  this.map = GameInfo[keyName].map;
  this.info = GameInfo[keyName];
};

LevelManage.prototype.getLevelInfo = function() {
  this.info.level = this.level;

  return this.info;
}